package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TbCollege;
import com.bwie.service.TbCollegeService;
import com.bwie.mapper.TbCollegeMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lenovo
 * @description 针对表【tb_college(学院表)】的数据库操作Service实现
 * @createDate 2025-06-21 11:00:23
 */
@Service
public class TbCollegeServiceImpl extends ServiceImpl<TbCollegeMapper, TbCollege>
        implements TbCollegeService {



    @Autowired
    TbCollegeMapper tbCollegeMapper;

    @Override
    public R getList(TbCollege tbCollege) {

        List<TbCollege> tbColleges = tbCollegeMapper.selectList(null);

        return R.OK(tbColleges);
    }
}




